﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNetX.Regex
{
    public static class RegexHelper
    {
        #region Properties

        public static readonly string StripHtmlPattern = @"<(.|\n)*?>";

        public static readonly string BasicPassword = @"\b\w*\b";

        #endregion

        #region Public Static Methods

        public static string StripHtml(string s)
        {
            System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(RegexHelper.StripHtmlPattern);

            return r.Replace(s, String.Empty);
        }

        #endregion
    }
}
